import request from '@/utils/request'

export function createBanner(params) {
  return request({
    url: 'admin/banner',
    method: 'post',
    data: params
  })
}


export function getBanner(params) {
  return request({
    url: 'admin/banner',
    method: 'get',
     params
  })
}

export function delBanner(params) {
  return request({
    url: 'admin/banner/del',
    method: 'get',
     params
  })
}
